/*
* 命名空间: LogicModel.ViewModel
*
* 功 能： View_SysUserRole视图实体类
*
* 类 名： View_SysUserRoleView
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2019-03-14 11:28:53 罗维     创建
*
* Copyright (c) 2016 Lir Corporation. All rights reserved.
*/

namespace LogicModel.ViewModel
{
    using System;
    using ToolsModel;

    /// <summary>
    /// 用户与角色关系视图
    /// </summary>
    [Serializable]
    [TableInfo(TableName = "View_SysUserRole")]
    public class View_SysUserRoleView
    {

        /// <summary>
        /// 用户Code
        /// </summary>
        [FieldInfo(ColumnName = "gCode")]
        public String Code
        {
            get; set;
        }

        /// <summary>
        /// 创建时间
        /// </summary>
        [FieldInfo(ColumnName = "dCreateTime")]
        public DateTime? CreateTime
        {
            get; set;
        }

        /// <summary>
        /// 1男 2女 0未知
        /// </summary>
        [FieldInfo(ColumnName = "iSex")]
        public Int32? Sex
        {
            get; set;
        }

        /// <summary>
        /// 0 正常 1冻结
        /// </summary>
        [FieldInfo(ColumnName = "iState")]
        public Int32? State
        {
            get; set;
        }

        /// <summary>
        /// 所属角色Codes  用 ,分隔开
        /// </summary>
        [FieldInfo(ColumnName = "sRoleCodes")]
        public String RoleCodes
        {
            get; set;
        }

        /// <summary>
        /// 登录名称
        /// </summary>
        [FieldInfo(ColumnName = "sLoginName")]
        public String LoginName
        {
            get; set;
        }

      

        /// <summary>
        /// 密码
        /// </summary>
        [FieldInfo(ColumnName = "sPassword")]
        public String Password
        {
            get; set;
        }

        /// <summary>
        /// 用户姓名
        /// </summary>
        [FieldInfo(ColumnName = "sUserName")]
        public String UserName
        {
            get; set;
        }

        /// <summary>
        ///联系电话 
        /// </summary>
        [FieldInfo(ColumnName = "sPhone")]
        public String Phone
        {
            get; set;
        }

        /// <summary>
        ///删除标志 
        /// </summary>
        [FieldInfo(ColumnName = "bIsDeleted")]
        public Boolean? IsDeleted
        {
            get; set;
        }
        
    }
}
